import { defineBuildConfig } from 'unbuild';

export default defineBuildConfig({
  entries: ['src/index'],
  clean: true,
  declaration: true,
  // declarationMap: true,
  sourcemap: true,
  rollup: {
    emitCJS: false,
    dts: {
      respectExternal: true,
    },
  },
  // typescript: {
  //   tsconfig: './tsconfig.json',
  // },
});
